package fun.zhaoyuanhao.facai;

import fun.zhaoyuanhao.facai.gen.SeedGen;
import fun.zhaoyuanhao.facai.gen.TicketGen;

import java.util.Arrays;
import java.util.List;

/**
 * 福彩
 *
 * @author 赵元昊
 * @date 2021/09/03 17:41
 **/
public class FucaiFacai {

    private static List<Integer> TWO_COLOR_BALL_PREFIX_SEED = SeedGen.gen(1, 33);
    private static List<Integer> TWO_COLOR_BALL_SUFFIX_SEED = SeedGen.gen(1, 16);

    public static void main(String[] args) {
        List<List<List<Integer>>> tickets = TicketGen.TicketBuilder.builder()
                .size(182034L).add(TWO_COLOR_BALL_PREFIX_SEED, 6).add(TWO_COLOR_BALL_SUFFIX_SEED, 1).gen();
        TicketGen.sout(tickets);
        TicketGen.soutSum(TicketGen.sum(tickets), Arrays.asList(6, 1));
    }
}
